home *** CD-ROM | disk | FTP | other *** search
/ This Disc Bytes! / Power Computing - The Disc 2 - This Disc Bytes.ISO / mac / CodeWarrior 7 Lite for 68K / MacOS Support / Headers / Universal Headers / CMPRComponent.h < prev    next >
Text File  |  1995-07-06  |  3KB  |  106 lines

  1. /*
  2.      File:        CMPRComponent.h
  3.  
  4.      Contains:    ColorSync ProfileResponder Components Interface 
  5.  
  6.      Version:    Technology:    ColorSync 2.0
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __CMPRCOMPONENT__
  21. #define __CMPRCOMPONENT__
  22.  
  23.  
  24. #ifndef __TYPES__
  25. #include <Types.h>
  26. #endif
  27. /*    #include <ConditionalMacros.h>                                */
  28.  
  29. #ifndef __QUICKDRAW__
  30. #include <Quickdraw.h>
  31. #endif
  32. /*    #include <MixedMode.h>                                        */
  33. /*    #include <QuickdrawText.h>                                    */
  34.  
  35. #ifndef __COMPONENTS__
  36. #include <Components.h>
  37. #endif
  38.  
  39. #ifndef __CMAPPLICATION__
  40. #include <CMApplication.h>
  41. #endif
  42. /*    #include <Files.h>                                            */
  43. /*        #include <OSUtils.h>                                    */
  44. /*            #include <Memory.h>                                    */
  45. /*        #include <Finder.h>                                        */
  46. /*    #include <Printing.h>                                        */
  47. /*        #include <Errors.h>                                        */
  48. /*        #include <Dialogs.h>                                    */
  49. /*            #include <Menus.h>                                    */
  50. /*            #include <Controls.h>                                */
  51. /*            #include <Windows.h>                                */
  52. /*                #include <Events.h>                                */
  53. /*            #include <TextEdit.h>                                */
  54. /*    #include <CMICCProfile.h>                                    */
  55.  
  56. #ifdef __cplusplus
  57. extern "C" {
  58. #endif
  59.  
  60. #if PRAGMA_ALIGN_SUPPORTED
  61. #pragma options align=mac68k
  62. #endif
  63.  
  64. #if PRAGMA_IMPORT_SUPPORTED
  65. #pragma import on
  66. #endif
  67.  
  68.  
  69. enum {
  70.     CMPRInterfaceVersion        = 0
  71. };
  72.  
  73. /* Component function selectors */
  74. enum {
  75.     kCMPRGetProfile                = 0,
  76.     kCMPRSetProfile                = 1,
  77.     kCMPRSetProfileDescription    = 2,
  78.     kCMPRGetIndexedProfile        = 3,
  79.     kCMPRDeleteDeviceProfile    = 4
  80. };
  81.  
  82. extern pascal CMError CMGetProfile(ComponentInstance pr, CMProfileHandle aProfile, CMProfileHandle *returnedProfile)
  83.  FIVEWORDINLINE(0x2F3C, 8, 0, 0x7000, 0xA82A);
  84. extern pascal CMError CMSetProfile(ComponentInstance pr, CMProfileHandle newProfile)
  85.  FIVEWORDINLINE(0x2F3C, 4, 1, 0x7000, 0xA82A);
  86. extern pascal CMError CMSetProfileDescription(ComponentInstance pr, long DeviceData, CMProfileHandle hProfile)
  87.  FIVEWORDINLINE(0x2F3C, 8, 2, 0x7000, 0xA82A);
  88. extern pascal CMError CMGetIndexedProfile(ComponentInstance pr, CMProfileSearchRecordHandle search, CMProfileHandle *returnProfile, long *index)
  89.  FIVEWORDINLINE(0x2F3C, 12, 3, 0x7000, 0xA82A);
  90. extern pascal CMError CMDeleteDeviceProfile(ComponentInstance pr, CMProfileHandle deleteMe)
  91.  FIVEWORDINLINE(0x2F3C, 4, 4, 0x7000, 0xA82A);
  92.  
  93. #if PRAGMA_IMPORT_SUPPORTED
  94. #pragma import off
  95. #endif
  96.  
  97. #if PRAGMA_ALIGN_SUPPORTED
  98. #pragma options align=reset
  99. #endif
  100.  
  101. #ifdef __cplusplus
  102. }
  103. #endif
  104.  
  105. #endif /* __CMPRCOMPONENT__ */
  106.